<?php if( $num==0 ){ ?>
<div class="row">
    <div class="span10">
        <div class="tips tips-large tips-success">
          <span class="x-icon x-icon-success"><i class="icon icon-ok icon-white"></i></span>
          <div class="tips-content">
            <h2><?php echo $Msg.','.$waitTime.'秒后跳转...'; ?></h2>
            <p class="auxiliary-text">
              你可以继续操作以下内容：
            </p>
            <p>
              <a class="direct-lnk" title="返回上一级" href="<?php echo $redirectUrl?>">返回上一级</a>
              <a class="direct-lnk" title="返回首页" href="<?php echo $this->createUrl('default/main') ?>">返回首页</a>
            </p>
          </div>
        </div>
    </div> 
</div>
<?php } else { ?>
<div class="row">
    <div class="span10">
        <div class="tips tips-large tips-warning">
          <span class="x-icon x-icon-error">×</span>
          <div class="tips-content">
            <h2><?php echo $Msg.','.$waitTime.'秒后跳转...'; ?></h2>
            <p class="auxiliary-text">
              你可以继续操作以下内容：
            </p>
            <p>
              <a class="direct-lnk" title="返回上一级" href="<?php echo $redirectUrl?>">返回上一级</a>
              <a class="direct-lnk" title="返回首页" href="<?php echo $this->createUrl('default/main') ?>">返回首页</a>
            </p>
          </div>
        </div>
    </div> 
</div>
<?php } ?>
<?php if($redirectUrl){?>
<script>
setTimeout("location.href='<?php echo $redirectUrl;?>'",<?php echo $waitTime;?>);
</script>
<?php }?>